{extend name="Home/Theme/Theme1/base" /}

{block name="main"}
<header class="intro-header" style="background-image: url(&#39;/&#39;)">
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
                <div class="site-heading">
                    <h1>{$title}</h1>
                    <span class="subheading"></span>
                </div>
            </div>
        </div>
    </div>
</header>
<div class="container">
    <div class="row">
        <div class="
                col-lg-8 col-lg-offset-1
                col-md-8 col-md-offset-1
                col-sm-12
                col-xs-12
                postlist-container
            ">
            {volist name="articles['list']" id="val"}
                <div class="post-preview">
                    <a target="_blank" href="/articles/{$val['id']}.html">
                        <h2>
                            {$val['name']}
                        </h2>
                        <div class="post-content-preview">
                            {$val['description']}
                        </div>
                    </a>
                    <p class="post-meta">
                        {$val['update_time']}
                    </p>
                </div>
                <hr>
            {/volist}
        </div>

        {include file="Home/Theme/Theme1/news" /}
    </div>
</div>

{/block}